U_CAPI void unum_setAttribute ( UNumberFormat* fmt, UNumberFormatAttribute attr, int32_t newValue)

Set a numeric attribute associated with a UNumberFormat

Documentation

Set a numeric attribute associated with a UNumberFormat. An example of a numeric attribute is the number of integer digits a formatter will produce.
Parameters:
fmt - The formatter to set.
attr - The attribute to set; one of UNUM_PARSE_INT_ONLY, UNUM_GROUPING_USED, UNUM_DECIMAL_ALWAYS_SHOWN, UNUM_MAX_INTEGER_DIGITS, UNUM_MIN_INTEGER_DIGITS, UNUM_INTEGER_DIGITS, UNUM_MAX_FRACTION_DIGITS, UNUM_MIN_FRACTION_DIGITS, UNUM_FRACTION_DIGITS, UNUM_MULTIPLIER, UNUM_GROUPING_SIZE, UNUM_ROUNDING_MODE, UNUM_FORMAT_WIDTH, UNUM_PADDING_POSITION.
newValue - The new value of attr.
See Also:
unum_getAttribute
unum_getDoubleAttribute
unum_setDoubleAttribute
unum_getTextAttribute
unum_setTextAttribute

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de